.class public Lcom/estrongs/android/ui/dialog/b1;
.super Lcom/estrongs/android/ui/dialog/q;
.source "TaskProgressDialog.java"


# instance fields
.field private a:Landroid/content/Context;

.field private b:Z

.field private c:Les/z80;

.field private d:Landroid/content/DialogInterface$OnDismissListener;

.field public final e:Landroid/content/DialogInterface$OnClickListener;

.field private f:Landroid/content/DialogInterface$OnClickListener;

.field private g:Landroid/content/DialogInterface$OnClickListener;

.field private h:Landroid/content/DialogInterface$OnClickListener;

.field private i:Lcom/estrongs/android/view/c0;

.field private j:Les/s80;

.field private k:Landroid/os/Handler;


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;Les/s80;)V
    .locals 1

    const/4 v0, 0x0

    .line 1
    invoke-direct {p0, p1, p2, v0, p3}, Lcom/estrongs/android/ui/dialog/b1;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Les/s80;)V

    const/4 p1, 0x0

    .line 2
    invoke-virtual {p0, p1}, Landroid/app/Dialog;->setCancelable(Z)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Les/s80;)V
    .locals 2

    .line 3
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/dialog/q;-><init>(Landroid/content/Context;)V

    const/4 v0, 0x0

    .line 4
    iput-boolean v0, p0, Lcom/estrongs/android/ui/dialog/b1;->b:Z

    .line 5
    new-instance v1, Lcom/estrongs/android/ui/dialog/b1$e;

    invoke-direct {v1, p0}, Lcom/estrongs/android/ui/dialog/b1$e;-><init>(Lcom/estrongs/android/ui/dialog/b1;)V

    iput-object v1, p0, Lcom/estrongs/android/ui/dialog/b1;->c:Les/z80;

    .line 6
    iput-object p1, p0, Lcom/estrongs/android/ui/dialog/b1;->a:Landroid/content/Context;

    .line 7
    invoke-virtual {p0, v0}, Landroid/app/Dialog;->setCancelable(Z)V

    .line 8
    invoke-virtual {p0, p2}, Lcom/estrongs/android/ui/dialog/q;->setTitle(Ljava/lang/CharSequence;)V

    .line 9
    new-instance p2, Lcom/estrongs/android/view/c0;

    const/4 v0, 0x0

    invoke-direct {p2, p1, v0, p3}, Lcom/estrongs/android/view/c0;-><init>(Landroid/content/Context;Landroid/view/ViewGroup;Ljava/lang/String;)V

    iput-object p2, p0, Lcom/estrongs/android/ui/dialog/b1;->i:Lcom/estrongs/android/view/c0;

    .line 10
    invoke-virtual {p2}, Lcom/estrongs/android/view/h0;->j()Landroid/view/View;

    move-result-object p2

    invoke-virtual {p0, p2}, Lcom/estrongs/android/ui/dialog/q;->setContentView(Landroid/view/View;)V

    .line 11
    new-instance p2, Landroid/os/Handler;

    invoke-direct {p2}, Landroid/os/Handler;-><init>()V

    iput-object p2, p0, Lcom/estrongs/android/ui/dialog/b1;->k:Landroid/os/Handler;

    .line 12
    new-instance p2, Lcom/estrongs/android/pop/e;

    invoke-direct {p2, p1}, Lcom/estrongs/android/pop/e;-><init>(Landroid/content/Context;)V

    .line 13
    invoke-virtual {p4, p2}, Les/s80;->a(Les/v80;)V

    .line 14
    new-instance p1, Lcom/estrongs/android/ui/dialog/b1$a;

    invoke-direct {p1, p0}, Lcom/estrongs/android/ui/dialog/b1$a;-><init>(Lcom/estrongs/android/ui/dialog/b1;)V

    iput-object p1, p0, Lcom/estrongs/android/ui/dialog/b1;->f:Landroid/content/DialogInterface$OnClickListener;

    .line 15
    new-instance p1, Lcom/estrongs/android/ui/dialog/b1$b;

    invoke-direct {p1, p0, p4}, Lcom/estrongs/android/ui/dialog/b1$b;-><init>(Lcom/estrongs/android/ui/dialog/b1;Les/s80;)V

    iput-object p1, p0, Lcom/estrongs/android/ui/dialog/b1;->e:Landroid/content/DialogInterface$OnClickListener;

    .line 16
    new-instance p1, Lcom/estrongs/android/ui/dialog/b1$c;

    invoke-direct {p1, p0, p4}, Lcom/estrongs/android/ui/dialog/b1$c;-><init>(Lcom/estrongs/android/ui/dialog/b1;Les/s80;)V

    iput-object p1, p0, Lcom/estrongs/android/ui/dialog/b1;->g:Landroid/content/DialogInterface$OnClickListener;

    .line 17
    new-instance p1, Lcom/estrongs/android/ui/dialog/b1$d;

    invoke-direct {p1, p0, p4}, Lcom/estrongs/android/ui/dialog/b1$d;-><init>(Lcom/estrongs/android/ui/dialog/b1;Les/s80;)V

    iput-object p1, p0, Lcom/estrongs/android/ui/dialog/b1;->h:Landroid/content/DialogInterface$OnClickListener;

    .line 18
    invoke-virtual {p4}, Les/s80;->c()Z

    move-result p1

    const p2, 0x7f110299

    const p3, 0x7f11004b

    if-eqz p1, :cond_1

    .line 19
    invoke-virtual {p0, p3}, Lcom/estrongs/android/ui/dialog/q;->getString(I)Ljava/lang/String;

    move-result-object p1

    iget-object p3, p0, Lcom/estrongs/android/ui/dialog/b1;->f:Landroid/content/DialogInterface$OnClickListener;

    invoke-virtual {p0, p1, p3}, Lcom/estrongs/android/ui/dialog/q;->setRightButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/widget/Button;

    .line 20
    invoke-virtual {p4}, Les/s80;->m()I

    move-result p1

    const/4 p3, 0x3

    if-ne p1, p3, :cond_0

    const p1, 0x7f110778

    .line 21
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/dialog/q;->getString(I)Ljava/lang/String;

    move-result-object p1

    iget-object p3, p0, Lcom/estrongs/android/ui/dialog/b1;->h:Landroid/content/DialogInterface$OnClickListener;

    invoke-virtual {p0, p1, p3}, Lcom/estrongs/android/ui/dialog/q;->setMiddleButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/widget/Button;

    goto :goto_0

    :cond_0
    const p1, 0x7f11005b

    .line 22
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/dialog/q;->getString(I)Ljava/lang/String;

    move-result-object p1

    iget-object p3, p0, Lcom/estrongs/android/ui/dialog/b1;->g:Landroid/content/DialogInterface$OnClickListener;

    invoke-virtual {p0, p1, p3}, Lcom/estrongs/android/ui/dialog/q;->setMiddleButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/widget/Button;

    .line 23
    :goto_0
    invoke-virtual {p0, p2}, Lcom/estrongs/android/ui/dialog/q;->getString(I)Ljava/lang/String;

    move-result-object p1

    iget-object p2, p0, Lcom/estrongs/android/ui/dialog/b1;->e:Landroid/content/DialogInterface$OnClickListener;

    invoke-virtual {p0, p1, p2}, Lcom/estrongs/android/ui/dialog/q;->setLeftButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/widget/Button;

    goto :goto_1

    .line 24
    :cond_1
    invoke-virtual {p0, p3}, Lcom/estrongs/android/ui/dialog/q;->getString(I)Ljava/lang/String;

    move-result-object p1

    iget-object p3, p0, Lcom/estrongs/android/ui/dialog/b1;->f:Landroid/content/DialogInterface$OnClickListener;

    invoke-virtual {p0, p1, p3}, Lcom/estrongs/android/ui/dialog/q;->setConfirmButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/widget/Button;

    .line 25
    invoke-virtual {p0, p2}, Lcom/estrongs/android/ui/dialog/q;->getString(I)Ljava/lang/String;

    move-result-object p1

    iget-object p2, p0, Lcom/estrongs/android/ui/dialog/b1;->e:Landroid/content/DialogInterface$OnClickListener;

    invoke-virtual {p0, p1, p2}, Lcom/estrongs/android/ui/dialog/q;->setCancelButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/widget/Button;

    .line 26
    :goto_1
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/b1;->i:Lcom/estrongs/android/view/c0;

    iget-object p1, p1, Lcom/estrongs/android/view/c0;->g:Les/w80;

    invoke-virtual {p4, p1}, Les/s80;->a(Les/w80;)V

    .line 27
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/b1;->c:Les/z80;

    invoke-virtual {p4, p1}, Les/s80;->a(Les/z80;)V

    .line 28
    iput-object p4, p0, Lcom/estrongs/android/ui/dialog/b1;->j:Les/s80;

    .line 29
    iget-object p1, p4, Les/s80;->c:Les/w80$a;

    if-eqz p1, :cond_2

    .line 30
    iget-object p2, p0, Lcom/estrongs/android/ui/dialog/b1;->i:Lcom/estrongs/android/view/c0;

    iget-object p2, p2, Lcom/estrongs/android/view/c0;->g:Les/w80;

    invoke-interface {p2, p4, p1}, Les/w80;->a(Les/s80;Les/w80$a;)V

    :cond_2
    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/ui/dialog/b1;)Landroid/content/DialogInterface$OnClickListener;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/dialog/b1;->h:Landroid/content/DialogInterface$OnClickListener;

    return-object p0
.end method

.method static synthetic a(Lcom/estrongs/android/ui/dialog/b1;Ljava/lang/String;)V
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/dialog/b1;->a(Ljava/lang/String;)V

    return-void
.end method

.method private a(Ljava/lang/String;)V
    .locals 2

    .line 7
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/b1;->k:Landroid/os/Handler;

    new-instance v1, Lcom/estrongs/android/ui/dialog/b1$f;

    invoke-direct {v1, p0, p1}, Lcom/estrongs/android/ui/dialog/b1$f;-><init>(Lcom/estrongs/android/ui/dialog/b1;Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    return-void
.end method

.method static synthetic b(Lcom/estrongs/android/ui/dialog/b1;)Landroid/content/DialogInterface$OnClickListener;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/dialog/b1;->g:Landroid/content/DialogInterface$OnClickListener;

    return-object p0
.end method

.method static synthetic c(Lcom/estrongs/android/ui/dialog/b1;)Landroid/os/Handler;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/dialog/b1;->k:Landroid/os/Handler;

    return-object p0
.end method

.method static synthetic d(Lcom/estrongs/android/ui/dialog/b1;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Lcom/estrongs/android/ui/dialog/b1;->b:Z

    return p0
.end method


# virtual methods
.method protected a(Les/u80;)Ljava/lang/Object;
    .locals 0

    if-eqz p1, :cond_0

    .line 4
    iget-object p1, p1, Les/u80;->b:Ljava/lang/Object;

    if-eqz p1, :cond_0

    .line 5
    check-cast p1, Les/u80$a;

    iget-object p1, p1, Les/u80$a;->b:Ljava/lang/Object;

    goto :goto_0

    :cond_0
    const/4 p1, -0x1

    .line 6
    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    :goto_0
    return-object p1
.end method

.method protected a()Ljava/lang/String;
    .locals 2

    .line 3
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v1, p0, Lcom/estrongs/android/ui/dialog/b1;->j:Les/s80;

    invoke-virtual {v1}, Les/s80;->g()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, " "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const v1, 0x7f1108dc

    invoke-virtual {p0, v1}, Lcom/estrongs/android/ui/dialog/q;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method protected a(Les/s80;)V
    .locals 0

    return-void
.end method

.method protected b()Ljava/lang/String;
    .locals 2

    .line 2
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v1, p0, Lcom/estrongs/android/ui/dialog/b1;->j:Les/s80;

    invoke-virtual {v1}, Les/s80;->g()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, " "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const v1, 0x7f1108f9

    invoke-virtual {p0, v1}, Lcom/estrongs/android/ui/dialog/q;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method protected b(Les/u80;)Ljava/lang/String;
    .locals 0

    if-eqz p1, :cond_0

    .line 3
    iget-object p1, p1, Les/u80;->b:Ljava/lang/Object;

    if-eqz p1, :cond_0

    .line 4
    check-cast p1, Les/u80$a;

    iget-object p1, p1, Les/u80$a;->a:Ljava/lang/String;

    goto :goto_0

    :cond_0
    const/4 p1, 0x0

    :goto_0
    return-object p1
.end method

.method protected b(Les/s80;)V
    .locals 0

    return-void
.end method

.method public dismiss()V
    .locals 2

    .line 1
    invoke-virtual {p0}, Landroid/app/Dialog;->isShowing()Z

    move-result v0

    if-nez v0, :cond_1

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/b1;->d:Landroid/content/DialogInterface$OnDismissListener;

    if-eqz v0, :cond_0

    .line 3
    invoke-interface {v0, p0}, Landroid/content/DialogInterface$OnDismissListener;->onDismiss(Landroid/content/DialogInterface;)V

    :cond_0
    return-void

    :cond_1
    const/4 v0, 0x1

    .line 4
    iput-boolean v0, p0, Lcom/estrongs/android/ui/dialog/b1;->b:Z

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/b1;->j:Les/s80;

    iget-object v1, p0, Lcom/estrongs/android/ui/dialog/b1;->i:Lcom/estrongs/android/view/c0;

    iget-object v1, v1, Lcom/estrongs/android/view/c0;->g:Les/w80;

    invoke-virtual {v0, v1}, Les/s80;->b(Les/w80;)V

    .line 6
    invoke-super {p0}, Lcom/estrongs/android/ui/dialog/q;->dismiss()V

    return-void
.end method

.method public setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/ui/dialog/b1;->d:Landroid/content/DialogInterface$OnDismissListener;

    .line 2
    invoke-super {p0, p1}, Landroid/app/Dialog;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    return-void
.end method
